<table border="1" align="center" width="80%">
<?php
  for($i=1  ; $i<=10 ; $i++) {
    $color = ($i%2==0)?'yellow':'pink';
?>
  <tr>
    <td style="background:<?=$color?>">Row <?=$i?></td>
  </tr>
<?php
  }// end for
?>
</table>
